<?php
/**
* VIDEO CONFERENCES
* Copyright (c) 2011 
* Author: Dmitriy Tovkach (ragvalod@gmail.com)
* @license		GNU/GPL
**/

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );

jimport( 'joomla.application.component.view');
require_once( JPATH_ROOT.DS.'components'.DS.'com_community'.DS.'libraries'.DS.'core.php');
require_once (JPATH_COMPONENT.DS.'community.php');



/**

 */
class VideoconferencesViewVideoconference extends JView
{
	function display($tpl = null)
	{
            global $mainframe;
            $id_converence = JRequest::getVar('id',0,'','GET');
            $update = JRequest::getVar('update',0,'','GET');
            if (($update == 1) && ($id_converence > 0))
            {
                $social  = new VideoSocial();
                $result = $social->SetActiveVideoconference($id_converence);
            }
            
    
        }
	
	
	
}            